package com.addplus.townmall.server.api.model.town;

import com.baomidou.mybatisplus.annotation.TableName;
import com.addplus.townmall.server.api.model.base.BaseRestModel;
import com.baomidou.mybatisplus.annotation.TableField;

import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 积分用户兑换记录表
 * </p>
 *
 * @author zhangjiehang
 * @since 2018-08-27
 */
@Data
@EqualsAndHashCode(callSuper = true)
@Accessors(chain = true)
@TableName("integral_member_recored")
public class IntegralMemberRecored extends BaseRestModel {

    private static final long serialVersionUID = 1L;

    /**
     * 关联用户主键id
     */
    @TableField("member_id")
    private Integer memberId;
    /**
     * 虚拟商品主键id
     */
    @TableField("virtual_goods_id")
    private Integer virtualGoodsId;
    /**
     * 兑换使用积分
     */
    @TableField("exchange_count")
    private Integer exchangeCount;


}
